# app/core/config.py
import os


class Settings:
    api_key: str = os.getenv("API_KEY", "your_shared_secret_key")
    REDIS_HOST: str = os.getenv("REDIS_HOST", "localhost")
    REDIS_PORT: int = int(os.getenv("REDIS_PORT", 6379))
    REDIS_DB: int = int(os.getenv("REDIS_DB", 0))
    CHROMA_DB_PATH: str = os.getenv("CHROMA_DB_PATH", "/Users/jianshengnan/Downloads/RAG/rag-project/app/chroma_db")
    QWEN_API_KEY: str = os.getenv("QWEN_API_KEY", "")
    BGE_M3_MODEL_PATH: str = os.getenv("BGE_M3_MODEL_PATH", "/Users/jianshengnan/Downloads/RAG/rag-project/models/bge-m3")
    BGE_RERANKER_MODEL_PATH: str = os.getenv("BGE_RERANKER_MODEL_PATH", "/Users/jianshengnan/Downloads/RAG/rag-project/models/bge-reranker-v2-m3")
    port: int = 8000


settings = Settings()
